adjusted globe calculation again
removed Is_Binary and getSetStat functions