added credits for Todd
added vector's test for select