workong wiyh db