db manager part1
db manager part 2