Changed in read for pull#7

@John: A lot changed after you sent the pull request so resolving conflicts was hard. I have done the changed which you have suggested here. 

Please have a look. Thanks.
------------------------ \[add more hyphens!]