removed an if statement