move the main calculation into MenuView's getMenuTarget