removed extra () in if statement