allow the passing of an array of field names