Modify SV_comparator
Add function in mytools