Exits on completion, added comments.