first commit, split out of Rcpp11