added custom deferred object example