developing new algo