fixed indentation and trailing whitespace