Refactored string randomization, functions, logic