it emits object::done event when done