improving add past visit