isda code and rcpp skeleton