renamed CSI1241 lecture 4a