change 1/60 to timeElapsed