deleted if statement