add _fields private attribute