modified read function
Merge pull request #3 from 153633/master

modified read function