processing code with fixed syntax errors