Adds bi-directional history