changed deferredAdd API