avoid while