adj missing data code finished.