missing code comments added