cosmetic: added many comments