Update chin.c

Added some comments