added statcounters code