added history of visited data
added history of visited data