implement right ordering and a hash function for the menus