remove extraneous functions