Added data immutation to correct for missing values