changed the return type of data_set_field()