looping over menu
switch case for menu input