delete some algorithm