random() and frameRate()