removed some syntax errors