read add demo code