Trying to get statistics to work