Arrays remove elements as necessary