He wrote a book called Qi Min Yao Shu