very primitive menu logic