basic write support
gen fiels