minor syntax errors