Added very basic "random functionality".