changing 'menu' name position for $name variable