meet the print_topics function.