Add previous to array