Convert Sync to Async example