removed the If else statement

removed the If else statement