fixing whitespace, in code and output