Changed default algorithm