many many changes
added iterator for hits