using the wrong vector constructor