removing debug code for testing errors