added javadc
added comments