changes in return statement of evaluate function
changed `results` to `result` and removed `results` dict defined previously