updates to linking step