shared memory, concurrency working properly