Nobody wants to steal your code.

Incorrect! Random works perfectly well regardless of where you place it in your code. If it doesn't produce your expected results then either your expectations or...