Removing some extraneous material