changes the navigator