defaultParam for constructor added