more messing around with db gems.