implemented dynamic menu with controller etc.