added the whitespace check to the source files