#borrow: [hanrobyn & zhoujie] - add borrow function