adding the ability to specify the random character set