Import random in gatherData.