added valuable auto whitespace trimming