added code comments, see #32