reusing history code for review screen