new functions to control the missing value feature