removed some debug code