made show_stats async