- almost finished incorporating tracking lib