Added comments to transmit.c