QPC homework 10