removed useless else statement