changes to linking variables from all three files