added java-doc