Moved save(results) to result_processor to get smaller function