removing some extraneous material