Update track.cpp

compiles but still has issues