I changed the argument to be `menuElement`.