added a dynamic menu