added sychronized statement to historypointjson