Edited lecture 8c