final debug of processing code