db moved to config