cleaned up some syntax errors