db settings stuff