switched concurrency to use medusa library