Changed algorithm matching language