https://www.geecoders.com/2022/01/add-field-api.html