added javadoc comment