prefix collect_statistics function
finish markdown output format