removed rcpp dependency, linking to is enough