dectofr() still under construction