change grepl part
change eff
change eff
change sum part
update
not finished...