changed timestoPlay