removed isArray