self loading database.