pipes valid data to stdout