updated during lectures, e2 done