Moves a function

Moves randNum()