handle missing data elements elegantly