alternate way to run the same thing without a PIPe