Modified print stats to print performance. Variable is now stored in params[]