added client random time change algorithm