jdoc and default constructor added