ported over get_stats_tag method to new class