comments added to controller and model