injecting package arguments into function calls