added G.require