time to frame event example