javadoc and updated the header