updating code to handle true-absence data properly