Final problem set 2