Updated the files with proper comments.