added javadoc comment to the sources