moving array init to History init incase its being passed around as ref