added javadoc support