create method for no_element_exists