add debugging on result success