cont. L04
lecture 7 for me105