simulate vector