modified tracker's top impl
modified detector's top impl