finished MockDB - untested