add doc of yield