adding the ability to pass arguments in series function