Fixed Switch Statement(By replacing it with an Else IF)