added default argument for constructor