Add resolve deferred with result