Modify read function and comments