trying to get db config working