Lecture 3. The theory of microfoundations