doc in, and some comments in