I'd prefer to see this outside of the method definition, so that it runs once rather than every time the method runs.