connected up to link to view page