let function can generate multiple factor simulation data