some comments for clarity and menu stack addition