implement add-missing in terms of new ops