working version of missing data