Menu to array