refaktorointeja else if -> switch case