removed -g switch