removed unused G_TEMP