new tracking algorithm