removed a part of the if statement