more vectorizing