Now using the new magic callback function to retrieve the top menu