Revert "removed insert to vector submethod"

This reverts commit ffed3aeda6d11fec0817f9bc25a47bc6da94931e.