changed the way the frametiming works