added progress debug