adjusted code comments