Making calling from vector of parms more generic