refactor the Visit show view again