commit #2

added the javadoc