fixed syntax errors
updated syntax