Some imp'l for the history up/dn. Does not work yet, just an idea