changed to simple output of input parameters
single-threaded example