Class 8 lecture work, cleaned up.