working on Java 2 Project 2