keep validation rules closer together