add example for new stats object