added init shm