logging results, and random category classified