prototype of dynamic menu