Stop the hackery with switch case; Just use if, else