processing with debug