comment out deprecated event-loop code