added some comments to controllers