Finishing the processing code