first attempt to make exaple0 work with async pipelien