added field and complexfield classes