check method added
completely implemented stream parser