sysntax errors fixed