added additional inline comments