removed console log messages, added commented code for CFI processing