think about the R interface