added values() and keys() method to HistoryCollection