updated code comments