Before you start rewriting your code