tim's notes from lectures