add interacting with c pointers