changing timing to random