woops - ok - did you actually break-out the udf and wrap stats arounf the dimming and assigning of $vars, and find that they take a (relatively) big chunk of time ?