calls to functs and R package