navigation outsourced to database