Changed data simulation function.