vectorize rotation 2