setHit requires a local argument