make fields as array