ex8 finished without vectorization