added data_table and data_type but have some bug at this moment