change to trinity concurrency lib