wrote a menu program