reworked deltatime again, using floats again