added some comments to events controller