javadoc included in source files and bug fixed