removed unnecessary else statement