working with streaming interface. needs documenttion
updated documentation