ndb implemented. works.