patterns vectors