Track Algorithm