Corrected syntactic errors