Another take on the randomization and text handling.