add ability to print stats