Took care of some syntax errors