added some comments
Merge pull request #9 from bbai/AutomateTP

added some comments