Removing extraneous