Code smell: a large function of classes
Refactor: a large function of class