Add tracking algorithm