This is an example of how to re-factor.