attempted search, but I think we may need a compareTo function to find the element