add ifD ifd etc in c.sinpse