extracted adding links to a new view