adding an example of deferredresult