changes for memorizing last visited repository