deletes extraneous info