some new algos
some new coed changes