almost done db ops
almost done db ops