removed some useless algorithms