provide the getprevious in the approuter return

making the getPrevious public