removed unused gexp function