Changed switch case on if else