removing extraneous