fixed elapsedTime