starting shared memory