added debug logging #4