refactored heroku nav call method