Was about to convert more, but the functions are complex, so will wait until I get with Jordan tomorrow.