adding database functionality
database take 2
db take 3
db take 4
db take 5
db take 6
db take 7