a new machinery of sampling and transforming simulation output