deleted useless else statement