added comments
added example stream reader