Add visits functionality