change to native stream