Hide data structures
Add Struct class to wrap structure
Extract calculation to a single responsability method
Fix typo
Extract calculation to a single responsability method
Change responsability to a new struct
Isolate behavior to its own class