updated for the new definition of field in core