changed link.h and link.cpp to include Trevon's stuff