add insert_write_left_table method