use stdout rather than a file