updated baseball.java