set required to true