added linking feature