this should show how to revert to a previous state wile keeping the history in tact