finalized variables and updated a comment.