frametime implemented and working