modify shmain