I have a function that takes any number of string arguments except the last argument which is a function. The string parameters are also optional, ie we don\'t have to pass