def g