An interactive textbook in advanced critical thinking