Added debug interface