Basic tracker algorithm implementation