Rename check_element method