working on asynchronous pipeline