An example of some smelly code