finished java doc