Find is not working so changed the code to loop through the vectors to
get the value that is needed.