practice the shared memory