working on db client