adding link to history