updated inline comments