Initializing rand once for the win