refact check new element id method
add each method in edges