I put that menu in a list of dicts and did some indexing and list comprehension to make things clearer