Example for strategic pattern