Added #ifdef _DEBUG to print statements