it is some algorithm problem