first finished version of vector benchmark