recommented some debug code