Adding link to history