extending debug