changed processor.py file