Adding enforceArray method