I have finished the print function and changed varstats engine to run the summary.