add changes in simd/scalar functions