Linted the file and added comments.