added default numbit for private key