renamed db to theHubDb