add comments in sh.c