add code for missing values