add algo part

in process