Added a few lines and comments.