modified main-controller( added adhoc-navigation )