beg while