added keytype either decimal or hex