Added setField and setData