getting rid of extraneous stuff