robust and solved concurrency problem