add geo stats code and code updates