hmm maybe it would make more sense to remove this argument and add a reset call tot he document as well so we can reuse the array list etc?