if you look at the function he posted earlier, he removed the optional keyword from the domain parameter. Therefore, he gets an error the "missing required parameter 2" error.
_________________________
Eric