Added some random function.