The only suggestion I have (for next time or whatever) is to extract the args at the beginning, i.e. assign them to variables with names, and then use the variables.