added some javadoc stuff