added in-code documentation and pre-emptive bug fix in rLItem()