midterm exercise (141110-141212)