implements naive navigation