trying to figure out how to search through the array list