use shared memory to run it