new API method - DEBUG