commented code to show how validator should hit the DB