Cleaned up the processor