getting db values