+1 to encapsulated, easily testable code.