added more comments to controllers