data_type add bool type for testing. but we use int to simulate.