Added getting dt from the timeManager