revised argument -g to sg