Commented trackerCore function