added docblock to db library