some work on the passphrase generator