added vector suppport