Uploaded lecture - 8 code