forgot ending } for if statements