remove extra junk from example