more syntax errors fixed