stats code change