add some comments to control object generator