got the concurrency to properly work