add generate random strings function