working on javadoc and commenting