add missing whitespace and comments