Great, I'll update it to use the existing function. Thanks