working with c3