Extracted randomise method