stable version of code, with no javadocs