deferred api