adjusted some code comments