eliminate hardcoded db settings