finished up lecture 2