linking vars