change controller for regression