javadoc added and runs clean