adding C++11-threads-based concurrency