5.2.5 How to Apply the Strategy Pattern