replaced debug code