added an onstep event to hero