Fixed the function - linkTo method