forgot to take out some debug code