Add function to constrain a value
Add constraining the input arguments