removed insert to vector submethod