added functionality for using last comparisons in rep system