use enumerate to avoid indexing menu directly