CSP1150: added lecture 8