Use getFields to return an array of fields rather than using a field ma