Added class to support and draw statistics