assignment-3: fixed more syntax errors