answers for #3: vectors