fixed errorsin comments and removed some unecessary whitespace from source file