Basic vectorization exercise