typo
switch case doesn't work here