Integration with c finally working.