Adding debug code to print conversion graph