minor updates according to the lecture