utility class for storing history of something