Added better sanitizer and sanitized the source code.