commeted out complete? loop break. not working as expected