adding misc notes from josh's lecture