while (!hpr)