began adding javadoc comments