change while to until