remove global from calling