adding deltaTime to engine