add array of history