Stubbed handle_event function