add kind of fields api