add outline of hits in document