Added comment for read function