my notes for lecture today. Special thanks to @sadikin