tell swap event, main loop doesn't do anything so it compiles