javadocs added