Initial coding of async client