some changes to the .java file