11.28
update some algorithms