reformatted and added Javadoc
added Javadoc comments
added Javadoc comments