a simple Deferred/Promise sample.