Edited printed output and comments.