corrected some syntax errors