converted documentation to Javadoc