removing all the debug code