added comments for modules and methods