read setupMainLoop/endMainloop timers instead of MainLoop