Undone deletions and added better comments.