removing some debug code