exactly how does one run a menu function