how to link a unit