check for missing datapoint before return