first draft of find_missing_element done