cleanup of source files. added comments for clarity