another version of the processing midterm