add deferred.resolver behaviour