added code to look for an ignore array in the model