Implementation of navigation