updated example code comments