Change Input, Output and Constraints