arg handling via switch case statements