Shared memory working