changed minor syntax errors