Prototype implementation of back/forward logic