Rearranged statistics.rb