working on history tables -- they now print in the correct order