updated commentes on the example codes