removes whitespace and examples