finished problem set 13)