add a fun( i ) -> body for each hit

and this is lib capability only
that it, it requires a main to use it ...