Do you think, your existing code is working fine without errors?
First, remove all the syntax errors from your code.
Later, tell us, where exactly the problem, you want to discuss.
Sorry to say...