implemented createLink function