Made the randomiser threadsafe and fixed repeat instances