back on track to implement history as sketched out
added a current stack accessor