Make line tracking global static