make menu generation easier #251