basic functionality to vector