set required fields