speedups
performance updates
javadoc