clean up and excerpt