fix syntax errors
now working