update based on actual lecture.