array error introduced