more work on dynamic menu