Added #ifdef DEBUG