adding a required to inputs.