draft implementation of concurrency