ndb done, register done