Move rand into std