runs with pstreams