modifies process_hits