need stdlib 1.0.0+ for validate_array