everything

Instead of using an instance variable, could all of this logic be moved to a helper class?