mark array items as active