added a little reporting func in process_dataset()