added history functionality
a lil bit of change