Removed extra if, used else