test code
Updated linking of vars