Writing textbooks is a good way to learn things