Made the randomisation engine global so the same can be used for the entire project.