new file:   contrib/capi