Syntax errors corrected