Removed extraneous ')' after condition, expected a statement