moved yz stats formatting to yz_stat module