Added the processYield function.