removed trace code