Can we put this in ```db.js```?