added comments to controllers