updated OI to whileHeld