modified java doc