modified adhoc-navigation