handle readonly modifier
handle const fields