More notes through homework 3