added deferred when sample