simple method to find missing elements