removed trailing whitespace and replaced hard tabs