changed tennis.java for searches