added inline docs in the tomdoc style