lecture 4 - Brown CS