finished writing java doc