java hw3 fix back