Added to the debug-catalog function