Economics as a discipline has considerable strengths. But the number of economics students has fallen substantially over a number of years. How can the tide be turned and the product made more attractive? Economics textbooks have become too dogmatic, as if many problems have been solved and students simply need to absorb a settled body of knowledge. Theoretical models taught in courses need empirical grounding if they are to be persuasive. Students need to know about the key episodes in 20th century economic history, and about the importance of institutions. Computer technology can be used to good effect with agent-based models.