initial prototype for menu version