review db source code and route source code