add vector constructor and selectors