changed visit to view