updated code comments to reflect previous changes