shared R functions