changes to linking