moved CONV definition to the main.cpp file and declared it as extern to all the other functions that call from it. Global variables, a necessary evil (Words of wisdom from Mike Trutt).