Add block code to print stats method