beg, borrow and steal code