added better comments