composition of vectors