cach size prepared, javadoc improvement