delete unnecessary if statement