corrected javadoc