removed an unecessary else statement