fixing syntax, trailing whitespace