code to initalize empty vector structure