adding field class definition