I am having a little trouble with getting my code to work. the part i am having trouble with is to prevent duplicate names being inserted in the vector. this is where i am having a trouble. i have gotten my program to catch when you enter a duplicate but when you are entering a name after entering a first one it does not read it. for instance when i start it, it begins with "Enter the names, terminate with -1: " then i am able to enter a name then it goes "Enter another name, end with -1: " and if you enter a name it just goes down a space and you have to enter the name again for it to register. can someone point me in the general direction of my problem? thanks.