add vector; switch from linkedlist to vector