Helps to put the rand() wrapper in