Added comments to Controller