run detector