added debug-log call