changed sc_parse to use new stream parser