trapped in an endless loop