• Thank you very much for your assistance.

    I ended up using CLR for the two functions.