pipe stream support added.