remove extraneous thingses