setting up template for stats