using tuple and dictinoary to rule the stats.