moved content from lecture 5 to 6