added better comments.