added return visits and amplify visit storage