draft one of submission. todo: problem 4 and interp on question 3