TC - added region comments to code