changed to reflect past lectures correctly