Implemented history. Cannot reference history and array is not circular