limit the inputs.