add yield in c