Added MiscellaneousProcessing function
 function