added binding for C