Removed debug trace code