added getField functions